package services;

import repositories.Repository;

public abstract class ReadOnlyBaseService<TE,T> {
	private Repository<TE, T> repository;

	public ReadOnlyBaseService(Repository<TE, T> repository) {
		super();
		this.repository = repository;
	}

	public Repository<TE, T> getRepository() {
		return repository;
	}

	public void setRepository(Repository<TE, T> repository) {
		this.repository = repository;
	}
	
}
